{extend name="default/base/base_home" /}
{block name="mall_main"}
<div class="index-focus-banner">
    <div class="bd">
        <ul>
            {dstaglib:adv ap_id='1' limit='4' item='v'}
            <li>
                <a href="{$v.adv_link}" style="background-image: url({:get_adv_img($v.adv_code)});" target="_blank">&nbsp;</a>
            </li>
            {/dstaglib:adv}
        </ul>
    </div>
    <div class="hd">
        <ul>
            {dstaglib:adv ap_id='1' limit='4' item='v'}
            <li class=""><a href="javascript:void(0)"></a></li>
            {/dstaglib:adv}
        </ul>
    </div>
    <a href="javascript:void(0)" class="arrow prev"><</a>
    <a href="javascript:void(0)" class="arrow next">></a>
</div>
<script type="text/javascript">
    //首页轮播
    jQuery(".index-focus-banner").slide({mainCell: ".bd ul", autoPlay: true, delayTime: 3000});
</script>


<div class="w1200">
    <div class="index-cases clearfix">
        <div class="mt index-title">
            <h2>成功案例</h2>
            <p>国内最优秀的电商平台及相关系统服务商</p>
        </div>
        <div class="mc clearfix">
            <ul>
                {foreach name="cases_list" item="cases"}
                <li>
                    <a href="{:url('cases/detail',['cases_id'=>$cases.cases_id])}" target="_blank" title="{$cases.cases_title}">
                        <div class="p_img">
                            <img src="{:get_cases_img($cases.cases_imgurl)}"/>
                        </div>
                        <div class="p_name">{$cases.cases_title}</div>
                    </a>
                </li>

                {/foreach}
            </ul>
        </div>
    </div>
</div>

<div class="w1200">
    <div class="index-product clearfix">
        <div class="mt index-title">
            <h2>热门产品</h2>
            <p>热门产品具体解释</p>
        </div>
        <div class="mc">
            <ul>
                {foreach name="product_list" item="product"}
                <li>
                    <a href="{:url('product/detail',['product_id'=>$product.product_id])}" target="_blank" title="{$product.product_title}">
                        <div class="p_img">
                            <img src="{:get_product_img($product.product_imgurl)}"/>
                        </div>
                        <div class="p_name">{$product.product_title}</div>
                    </a>
                </li>
                {/foreach}
            </ul>
        </div>
    </div>
</div>

<div class="index-article">
    <div class="w1200">
        {foreach name="news_column" item="column"}
        <div class="article-item clearfix">
            <div class="tit">{$column.column_name}</div>
            <div class="blue-line"></div>
            {foreach name="$column.news_list" item="news" key="hot_news"}
            {if $hot_news == 0}
            <a class="top-new" href="{:url('news/detail',['news_id'=>$news.news_id])}" target="_blank" title="{$news.news_title}">
                <div class="new-img" style="background: url({:get_news_img($news.news_imgurl)}) center center no-repeat;width: 373px;height: 170px;background-size:100%;"></div>
                <div class="top-txt">[{$column.column_name}] {$news.news_title}</div>
            </a>
            {else/}
            <a class="other-ms-item" href="{:url('news/detail',['news_id'=>$news.news_id])}" target="_blank">
                <div class="msg-con f_l">[{$column.column_name}] {$news.news_title}</div>
                <div class="msg-date f_l">{$news.news_addtime|date='m-d'}</div>
            </a>
            {/if}
            {/foreach}
            <a href="{:url('news/search',['column_id'=>$column.column_id])}" target="_blank" class="show-more-btn">查看更多</a>
        </div>
        {/foreach}
    </div>
</div>


{/block}